Adds a cache entry into the cache, and returns an existing cache entry with a matching key.
item
Cache item to add.
policy
Expiration policy for the item.
The previous cache entry that matches the specified key, if found. If the cache contains an item with the same key, then it will be returned before it is overwritten. Otherwise, null.
Products |
Support |
Feedback: AddOrGetExisting<T>(CacheItem<T>,CacheItemPolicy) Method (FileCache) - Leadtools.Caching |
Introduction |
Help Version 19.0.2017.3.22
|